package huffmanTree;

import com.cn.stepLock.ObjectStepLock;
import com.cn.stepLock.ObjectWrapper;

import java.util.function.BiConsumer;

/**
 * @author Aaron
 * @desc
 * @createTime 2022-02-25 5:12
 * @since
 */
public class ObjectStepLockWrapper {

    ObjectWrapper<StepLockHuffumanTree> objectWraapper ;


    public ObjectStepLockWrapper(StepLockHuffumanTree stepLockHuffumanTree) {
        this.objectStepLock = new ObjectStepLock();
        this.objectWraapper = new ObjectWrapper<StepLockHuffumanTree>(stepLockHuffumanTree);
        BiConsumer<StepLockHuffumanTree,HuffmanTree>  consumer = (x,y)->x.buildValueFrequencyWhenAddTree(y);
    }

    ObjectStepLock objectStepLock = new ObjectStepLock();


}
